ostree: Remove duplicate command in help output
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Aug 2012 00:03:40 +0000 (20:03 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 24 Aug 2012 00:03:40 +0000 (20:03 -0400)
The 'remote' command was listed twice. Also, the list
was almost-but-not-quite alphabetically sorted. Fix
that too.

src/ostree/main.c

index 5736f3c502b639858d0dc6be3b737ce35ae596da..72231ab3c0dd0efa9773b329d3dac48c89d4dc87 100644 (file)
 
 static OstreeCommand commands[] = {
   { "cat", ostree_builtin_cat, 0 },
+  { "commit", ostree_builtin_commit, 0 },
   { "config", ostree_builtin_config, 0 },
   { "checkout", ostree_builtin_checkout, 0 },
   { "checksum", ostree_builtin_checksum, OSTREE_BUILTIN_FLAG_NO_REPO },
   { "diff", ostree_builtin_diff, 0 },
+  { "fsck", ostree_builtin_fsck, 0 },
   { "init", ostree_builtin_init, 0 },
-  { "commit", ostree_builtin_commit, 0 },
-  { "pull-local", ostree_builtin_pull_local, 0 },
   { "log", ostree_builtin_log, 0 },
   { "ls", ostree_builtin_ls, 0 },
-  { "prune", ostree_builtin_prune, 0 },
-  { "fsck", ostree_builtin_fsck, 0 },
   { "pack", ostree_builtin_pack, 0 },
+  { "prune", ostree_builtin_prune, 0 },
   { "pull", NULL, 0 },
+  { "pull-local", ostree_builtin_pull_local, 0 },
   { "remote", ostree_builtin_remote, 0 },
   { "rev-parse", ostree_builtin_rev_parse, 0 },
-  { "remote", ostree_builtin_remote, 0 },
   { "show", ostree_builtin_show, 0 },
   { "unpack", ostree_builtin_unpack, 0 },
   { "write-refs", ostree_builtin_write_refs, 0 },